function isLogin(username, password) {
	
	var username, password;
	var flag = false;
	
	//信息正确登录成功
	//跳转
	//判断是否已经登录
	PassportSC.parsePassportCookie();
	//已经登录
    if (typeof(PassportSC.cookie['userid']) != "undefined") {
    	appDidLogin();
    	flag = true;
    }
	flag = true;
	alert('正在进行登录操作');
	alert('登录成功！');
	
	window.isLogined = true;
	
	return flag;
	
}

(function ($) {
	
	$('#loginTest').click(function () {
		
		showLoginDialog();
		
	});
	
})(jQuery);

